package cn.ld.modules.demo.test.service.impl;

import java.util.List;

import cn.ld.modules.demo.test.entity.LdOrderCustomer;
import cn.ld.modules.demo.test.mapper.LdOrderCustomerMapper;
import cn.ld.modules.demo.test.service.ILdOrderCustomerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

/**
 * @Description: 订单客户
 * @Author: ld-boot
 * @Date:  2019-02-15
 * @Version: V1.0
 */
@Service
public class LdOrderCustomerServiceImpl extends ServiceImpl<LdOrderCustomerMapper, LdOrderCustomer> implements ILdOrderCustomerService {

	@Autowired
	private LdOrderCustomerMapper ldOrderCustomerMapper;
	
	@Override
	public List<LdOrderCustomer> selectCustomersByMainId(String mainId) {
		return ldOrderCustomerMapper.selectCustomersByMainId(mainId);
	}

}
